package com.weixin.paleituo.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;
import java.util.List;

/**
 * Author yichao
 * Time  2018/7/12 14:06
 * Dest  订单申请
 */

public class AfterSaleListBean implements Parcelable {
    /**
     * serviceOrderForm : 201807102561
     * statues : 1
     * receiver :
     * receiveAddress :
     * gid : 233
     * listUrl : http://p35r91t1w.bkt.clouddn.com/upload/goods_list_img/c86c3d95-58ef-4c71-97cd-581464d70683.jpg
     * afterSaleNum : 1
     * goodsName : 舒社超市 卧房 床 KA09T8 原木色
     * afterSaleId : 1
     * type : 1
     * message : 您的服务单已申请成功，待售后审核中
     * orderDetailId : 186
     * receiverPhone :
     * shipNo :
     * proUrls : []
     * storeName : 舒社超市
     */

    private String serviceOrderForm;
    private int statues;
    private String receiver;
    private String receiveAddress;
    private int gid;
    private String listUrl;
    private int afterSaleNum;
    private String goodsName;
    private int afterSaleId;
    private int type;
    private String message;
    private int orderDetailId;
    private String receiverPhone;
    private String shipNo;
    private String storeName;
    private List<ProUrlsBean> proUrls;

    public String getServiceOrderForm() {
        return serviceOrderForm;
    }

    public void setServiceOrderForm(String serviceOrderForm) {
        this.serviceOrderForm = serviceOrderForm;
    }

    public int getStatues() {
        return statues;
    }

    public void setStatues(int statues) {
        this.statues = statues;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getReceiveAddress() {
        return receiveAddress;
    }

    public void setReceiveAddress(String receiveAddress) {
        this.receiveAddress = receiveAddress;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public String getListUrl() {
        return listUrl;
    }

    public void setListUrl(String listUrl) {
        this.listUrl = listUrl;
    }

    public int getAfterSaleNum() {
        return afterSaleNum;
    }

    public void setAfterSaleNum(int afterSaleNum) {
        this.afterSaleNum = afterSaleNum;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public int getAfterSaleId() {
        return afterSaleId;
    }

    public void setAfterSaleId(int afterSaleId) {
        this.afterSaleId = afterSaleId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getOrderDetailId() {
        return orderDetailId;
    }

    public void setOrderDetailId(int orderDetailId) {
        this.orderDetailId = orderDetailId;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public String getShipNo() {
        return shipNo;
    }

    public void setShipNo(String shipNo) {
        this.shipNo = shipNo;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public List<ProUrlsBean> getProUrls() {
        return proUrls;
    }

    public void setProUrls(List<ProUrlsBean> proUrls) {
        this.proUrls = proUrls;
    }

    public AfterSaleListBean() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.serviceOrderForm);
        dest.writeInt(this.statues);
        dest.writeString(this.receiver);
        dest.writeString(this.receiveAddress);
        dest.writeInt(this.gid);
        dest.writeString(this.listUrl);
        dest.writeInt(this.afterSaleNum);
        dest.writeString(this.goodsName);
        dest.writeInt(this.afterSaleId);
        dest.writeInt(this.type);
        dest.writeString(this.message);
        dest.writeInt(this.orderDetailId);
        dest.writeString(this.receiverPhone);
        dest.writeString(this.shipNo);
        dest.writeString(this.storeName);
        dest.writeList(this.proUrls);
    }

    protected AfterSaleListBean(Parcel in) {
        this.serviceOrderForm = in.readString();
        this.statues = in.readInt();
        this.receiver = in.readString();
        this.receiveAddress = in.readString();
        this.gid = in.readInt();
        this.listUrl = in.readString();
        this.afterSaleNum = in.readInt();
        this.goodsName = in.readString();
        this.afterSaleId = in.readInt();
        this.type = in.readInt();
        this.message = in.readString();
        this.orderDetailId = in.readInt();
        this.receiverPhone = in.readString();
        this.shipNo = in.readString();
        this.storeName = in.readString();
        this.proUrls = new ArrayList<ProUrlsBean>();
        in.readList(this.proUrls, ProUrlsBean.class.getClassLoader());
    }

    public static final Creator<AfterSaleListBean> CREATOR = new Creator<AfterSaleListBean>() {
        @Override
        public AfterSaleListBean createFromParcel(Parcel source) {
            return new AfterSaleListBean(source);
        }

        @Override
        public AfterSaleListBean[] newArray(int size) {
            return new AfterSaleListBean[size];
        }
    };
}
